<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="icon" type="image/ico" th:href="@{/images/favicon.ico}">
    <link rel="stylesheet" type="text/css" th:href="@{/layui/css/layui.css}">
    <link rel="stylesheet" type="text/css" th:href="@{/css/index.css}">
    <title>新增人才招聘</title>
    <style>
        html{ background: #fff;}
    </style>
</head>
<body>
<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
    <legend>新增人才招聘</legend>
</fieldset>
<!--新增修改界面-->
<form class="layui-form" id="editForm" lay-filter="editForm">
    <input type="hidden" name="id">
    <div class="layui-form-item">
        <label class="layui-form-label"><i class="layui-tip-required">*</i>招聘职位</label>
        <div class="layui-input-block" style="width: 60%;">
            <input type="text" name="name" lay-verify="required|nameLen" autocomplete="off" placeholder="请输入招聘职位"
                   class="layui-input layui-form-danger">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label"><i class="layui-tip-required">*</i>工作地点</label>
        <div class="layui-input-block" style="width: 60%;">
            <input type="text" name="place" lay-verify="required|addrLen" autocomplete="off" placeholder="请输入工作地点"
                   class="layui-input layui-form-danger">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">工作年限</label>
        <div class="layui-input-block" style="width: 60%;">
            <input type="text" name="workYear" lay-verify="yearLen" autocomplete="off" placeholder="请输入工作年限"
                   class="layui-input layui-form-danger">
            <div class="layui-form-mid layui-word-aux">为空表示工作年限不限</div>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">招聘人数</label>
        <div class="layui-input-inline" style="width: 58%;">
            <input type="text" name="count" lay-verify="countLen|count" autocomplete="off" placeholder="请输入招聘人数"
                   class="layui-input layui-form-danger">
        </div>
        <label class="layui-inline" style="font-size: 15px;line-height: 15px;height: 15px;margin-left: -15px;margin-top: 12px;">人</label>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">学历要求</label>
        <div class="layui-input-block" style="width: 60%;">
            <input type="text" name="eduText" lay-verify="nameLen" autocomplete="off" placeholder="请输入学历要求"
                   class="layui-input layui-form-danger">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">所属部门</label>
        <div class="layui-input-block" style="width: 60%;">
            <input type="text" name="dept" lay-verify="nameLen" autocomplete="off" placeholder="请输入所属部门"
                   class="layui-input layui-form-danger">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label"><i class="layui-tip-required">*</i>招聘显示</label>
        <div class="layui-input-inline" id="statusDiv">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label"><i class="layui-tip-required">*</i>发布时间</label>
        <div class="layui-input-inline">
            <input type="text" name="releaseTime" id="releaseTime" lay-verify="required|datetime" autocomplete="off" placeholder="请选择发布时间"
                   class="layui-input layui-form-danger">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">招聘要求</label>
        <div class="layui-input-block">
            <div id="ueditorText" style="width: 690px;min-height: 400px;"></div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button id="saveRecord" class="layui-btn" lay-submit lay-filter="editRecord">保存</button>
            <button id="backRecord" class="layui-btn layui-btn-primary" lay-filter="" type="button">返回</button>
        </div>
    </div>
</form>
<script type="text/javascript" th:src="@{/js/plugins/jquery-1.11.3.min.js}"></script>
<script type="text/javascript" th:src="@{/layui/layui.js}"></script>
<!-- 百度Ueditor编辑器-->
<script type="text/javascript" th:src="@{/ueditor/ueditor.config.js}"></script>
<script type="text/javascript" th:src="@{/ueditor/ueditor.all.js}"></script>
<script type="text/javascript" th:src="@{/ueditor/lang/zh-cn/zh-cn.js}"></script>
<script type="text/javascript" th:src="@{/js/modules/recruit/add.js}"></script>
</body>
</html>